package kz.pompei.var.error;

import kz.pompei.var.atom.AtomComment;

public class ErrorUnclosedComment extends Error {
  
  private final AtomComment atom;
  
  public ErrorUnclosedComment(AtomComment atom) {
    super( atom.getStartLine(), atom.getStartCol(), atom.getStartLine(), atom.getStartCol() + 1 );
    this.atom = atom;
  }
  
  public AtomComment getAtom() {
    return atom;
  }
}
